package com.business.business.web.service;

import cn.hutool.json.JSONObject;
import com.business.business.common.base.BaseService;
import com.business.business.support.model.RespEntity;
import com.business.business.support.utils.requestutil.HttpRequestUtil;
import com.business.business.web.mapper.BusinessBasisinfoFilesMapper;
import com.business.business.web.mapper.BusinessFiretrainingMapper;
import lombok.extern.slf4j.Slf4j;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
@Slf4j
public class AsyncService extends BaseService {
    private static final Logger logger = LoggerFactory.getLogger(AsyncService.class);
    @Resource
    private BusinessFiretrainingMapper businessFiretrainingMapper;
    @Resource
    private BusinessBasisinfoFilesMapper businessBasisinfoFilesMapper;
    @Async
    public RespEntity getBusinessList(JSONObject jsonParam) {
        jsonParam = HttpRequestUtil.commonHttpRequestParamConvert(getRequest());

        return RespEntity.success();
    }
}
